/**
 * Description: MajorInfo.java
 * Copyright (c) 2008-2009  Neo. 
 * All Rights Reserved.
 * @version 1.0  Mar 27, 2009 10:59:36 PM 李萌（neolimeng@gmail.com）created
 */
package org.paradise.dms.pojo;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * Description: 
 * Copyright (c) 2008-2009  Neo. 
 * All Rights Reserved.
 * @version 1.0  Mar 27, 2009 10:59:36 PM 李萌（neolimeng@gmail.com）created
 */
@Entity
@Table(name="majorinfo")
public class MajorInfo {
	// Fields
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	// 自动增长
	private Integer majorinfoid;
	private Integer collegeinfoid;
	private String majorinfoname;
	
	// Property accessors

	public Integer getMajorinfoid() {
		return this.majorinfoid;
	}

	public void setMajorinfoid(Integer majorinfoid) {
		this.majorinfoid = majorinfoid;
	}

	public Integer getCollegeinfoid() {
		return this.collegeinfoid;
	}

	public void setCollegeinfoid(Integer collegeinfoid) {
		this.collegeinfoid = collegeinfoid;
	}

	public String getMajorinfoname() {
		return this.majorinfoname;
	}

	public void setMajorinfoname(String majorinfoname) {
		this.majorinfoname = majorinfoname;
	}


}
